#ifndef  DPALARM_H
#define  DPALARM_H

int  SIM900A_send_tcp_balance(uint8_t balance);     //通过网络发送话费余额
int  SIM900A_send_tcp_power_alarm(uint8_t stat);    //通过网络发送通断电报警
int  SIM900A_send_tcp_dp_alarm(int rec_count);
int  SIM900A_send_power_alarm(char type);
void SIM900A_send_phone_call_alarm(void);           //拨打报警电话
int  SIM900A_gprs_send_tcp(uint8_t type);
void SIM900A_dpalarm_set_option(option_t *option);  //为报警函数库设置全局参数
void SIM900A_add_dp_alarm(int type, int dp_no, int value); //设置大棚报警数据
int  SIM900A_run_dp_alarm(void);        //执行大棚数据报警
int  send_alarm_SM(char *PDU_msg);

#endif  /*DPALARM_H*/
